package dao;

import java.sql.Date;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.Vector;

import model.Fresh;
import model.FreshDorm;

public interface IDao_Fresh
{
	public int addFresh(Fresh fresh);

	public int addSchool(String school);

	public int deleteSchool(String school);

	public boolean checkName(String name);

	public int changeDormSex(int dormId, String string);

	public int updateTransitionStudent(int studentId, Date inDate, int dormId);

	public int updateTransitionDorm(int dormId, Date transDate, boolean isAdd);

	public List<FreshDorm> queryEmptyRoom();

	public List<FreshDorm> queryByRemark(String remark, int scale);

	public FreshDorm queryByDormNumber(String number);

	public List<FreshDorm> queryByDormNumber(String number, int scale);

	public List<FreshDorm> queryBySex(String s, int scale);

	public List<FreshDorm> queryAll(int scale);

	public List<FreshDorm> queryByLeftBedCount(int leftBedCount, int scale);

	public List<FreshDorm> queryByPeopleCount(int peopleCount, int scale);
}
